package org.smoozik.app.ihm;

import java.awt.Graphics;
import java.util.List;

import org.smoozik.services.musictheory.Figure;
import org.smoozik.services.musictheory.Note;

public abstract class AbstractFigure implements Figure {
	protected int margin;
	protected int width;

	public int getMargin() {
		return margin;
	}

	public void setMargin(int marge) {
		this.margin = marge;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public abstract List<Note> getNotes();

	public abstract void paint(Graphics g);

	public abstract void prepareDisplay();

}
